//package com.srd.phone.activity;
//
//import android.os.Bundle;
//
//import com.android.volley.VolleyError;
//import com.shengrongdai.srd.R;
//import com.srd.phone.mvp.interfaces.IBaseView;
//import com.srd.phone.mvp.presenters.ModifyPresenter;
//import com.srd.phone.utils.Constants;
//import com.srd.phone.utils.LogUtils;
//
//public class ModifyActivity extends BaseActivity implements IBaseView {
//
//    private ModifyPresenter presenter;
//    private String urlReEm = Constants.BASEURL + "loginapp/ReEm"; //修改邮箱
//    private String urlRePh = Constants.BASEURL + "loginapp/RePh"; //修改手机号
//    private String urlRePwd = Constants.BASEURL + "loginapp/RePwd"; //修改密码
//
//
//    @Override
//    protected void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_login);
//        presenter = new ModifyPresenter(requestQueue, this);
////        presenter.requestData(urlReEm, preferencesUtils.getUserInfo().ticket, "wumj@qq.com");
////        presenter.requestData2(urlRePh, preferencesUtils.getUserInfo().ticket, "15634568721");
//        presenter.requestData3(urlRePwd, preferencesUtils.getUserInfo().ticket, "123", "1");
//    }
//
//    @Override
//    public void initView() {
//
//    }
//
//    @Override
//    public void initData() {
//
//    }
//
//    @Override
//    public void returnData(String tag, String data) {
//        LogUtils.i(ModifyActivity.class, tag + "   " + data + "   " + preferencesUtils.getUserInfo().ticket);
//    }
//
//    @Override
//    public void onError(String tag, VolleyError error) {
//        LogUtils.i(ModifyActivity.class, tag + "   " + error.toString());
//    }
//
//    @Override
//    protected void onDestroy() {
//        super.onDestroy();
//        recycle(presenter, urlReEm, urlRePh, urlRePwd);
//    }
//}
